]> dgit.raspbian.org Git - gnome-shell.git/commit
StThemeNodeDrawing: generalize render_gradient to render_background_with_border
authorRay Strode <rstrode@redhat.com>
Sun, 12 Dec 2010 20:41:41 +0000 (15:41 -0500)
committerRay Strode <rstrode@redhat.com>
Mon, 24 Jan 2011 17:23:11 +0000 (12:23 -0500)
commita7fa7d748dd285023d3fcdc770f185c7ea8d51d4
treebf452bd3c919ae419e13f06605562daa61a23c1f
parent2b6d4ff27923ded5ba468bbdaaed740a47ea0c9e
StThemeNodeDrawing: generalize render_gradient to render_background_with_border

A lot of the border drawing logic in st_theme_node_render_gradient is
applicable to other non-solid background types than gradients.

This commit refactors that code so that support for other non-solid
background types can be more easily integrated later.

https://bugzilla.gnome.org/show_bug.cgi?id=636976
src/st/st-theme-node-drawing.c